package com.creatingrevolutions.vbukit.lib;

/**
 * Created by warodri on 7/22/13.
 */
public class BucketFile
{
	
	private String fileName;
	private byte[] fileBytes;
	
	/**
	 * Folder that contains the file. It doesn't end with /.
	 */
	private String folderPath;
	
	public BucketFile(String fileName, byte[] fileBytes)
	{
		super();
		this.fileName = fileName;
		this.fileBytes = fileBytes;
	}
	
	public BucketFile(String fileName, String folderPath)
	{
		super();
		this.fileName = fileName;
		this.folderPath = folderPath;
	}
	
	public String getLocalFilePath()
	{
		return folderPath + "/" + fileName;
	}
	
	public String getFileName()
	{
		return fileName;
	}
	
	public void setFileName(String fileName)
	{
		this.fileName = fileName;
	}
	
	public byte[] getFileBytes()
	{
		return fileBytes;
	}
	
	public void setFileBytes(byte[] fileBytes)
	{
		this.fileBytes = fileBytes;
	}
	
	public String getFolderPath()
	{
		return folderPath;
	}
	
	public void setFolderPath(String folderPath)
	{
		this.folderPath = folderPath;
	}
	
}
